﻿
using Giant.Web.Framework;
using Giant.Web.Framework.Mvc;
using System.Collections.Generic;
using System.Web.Mvc;

namespace Giant.Plugin.Widgets.BaiduAnalytics.Models
{
    public class ConfigurationModel : BaseModel
    {
        public int ActiveSiteScopeConfiguration { get; set; }

        public ConfigurationModel()
        {
            AvailableZones = new List<SelectListItem>();
        }

        [AppResourceDisplayName("Admin.ContentManagement.Widgets.ChooseZone")]
        public string ZoneId { get; set; }
        public IList<SelectListItem> AvailableZones { get; set; }
        public bool ZoneId_OverrideForSite { get; set; }

        [AppResourceDisplayName("Plugins.Widgets.BaiduAnalytics.TrackingScript")]
        [AllowHtml]
        //tracking code
        public string TrackingScript { get; set; }
        public bool TrackingScript_OverrideForSite { get; set; }

    }
}
